
from messages import message

class ActionLogin(message.ActionMessage):
	"""Login Action

	Connect to Asterisk AMI with provided credentials
	"""
	def __init__(self, username, secret):
		message.ActionMessage.__init__(self, parameters=[
												('Action', 'Login'),
												('ActionID', message.ActionMessage._action_id_),
												('Username',username), 
												('Secret',secret), 
												('Events','on')
												])
		
